#include<bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
const int N = 2e5 + 10;
#define INF 0x3f3f3f3f;
typedef long long int ll;
#define close(); std::ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);
//----------------------------------------------------------------------------//
int n;
int main()
{
    close();

    cin >> n;


    string s1;
    cin >> s1;

    //int num=(n-2)/2;

    int head = 1;
    int last = s1.size() - 2;

    int cnt = 1;

    while (head<s1.size()&&last>=0&&head <= last)
    {
        if (cnt % 2 == 0)
        {
            head++;
            last--;
        }
        else
        {
            char ch = s1[head];
            s1[head] = s1[last];
            s1[last] = ch;
            head++;
            last--;
        }
        cnt++;
    }

    cout << s1 << '\n';

    return 0;
}
